import re


msg = "san chuang tong le, welcom ,'hello world', learn python"
print(re.findall(r"\w+(?=[\s,])?|'.*'",msg))